|
2020-2021 Sunseeker Telemetry and Lighting System
|
Go to the source code of this file.
Macros | |
| #define | SLAVE_ADDRESS 0x48 |
Functions | |
| void | main (void) |
| void | USCIB0_ISR (void) |
Variables | |
| uint8_t | RXData |
| #define SLAVE_ADDRESS 0x48 |
/|\ /|\ MSP430FR2xx_4xx Board 10k 10k MSP430FR2xx_4xx Board slave | | master --------------— | | --------------—
| UCB0SDA | <- | -—+-> | UCB0SDA |
|---|---|---|---|
| UCB0SCL|<-+---—>|UCB0SCL | | | | |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 78 of file eusci_b_i2c_ex3_slaveRxMultiple.c.
| void main | ( | void | ) |
Definition at line 82 of file eusci_b_i2c_ex3_slaveRxMultiple.c.
References __no_operation(), param, and SLAVE_ADDRESS.
| void USCIB0_ISR | ( | void | ) |
Definition at line 140 of file eusci_b_i2c_ex3_slaveRxMultiple.c.
References RXData.
| uint8_t RXData |
Definition at line 80 of file eusci_b_i2c_ex3_slaveRxMultiple.c.